From b80246635cfd6a9bb92f8232131c44cc14f25785 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 28 Oct 2002 08:15:29 +0000 Subject: [PATCH] (makefile-warn-continuations): Don't barf when there _aren't_ any suspicious continuations. --- lisp/progmodes/make-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 1a53455f534..9bc950f9be5 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -1393,7 +1393,7 @@ and generates the overview, one line per target name." (if (eq major-mode 'makefile-mode) (save-excursion (goto-char (point-min)) - (if (re-search-forward "\\\\[ \t]+$") + (if (re-search-forward "\\\\[ \t]+$" nil t) (not (y-or-n-p (format "Suspicious continuation in line %d. Save anyway? " (count-lines (point-min) (point))))))))) -- 2.30.2